package com.atguigu.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

//@FeignClient(value = "ads-service", url = "http://stable.music.migu.cn")
@FeignClient(value = "ads-service-test", url = "http://127.0.0.1:3000")
public interface ADSFeingnCient {
//    @PostMapping("/api/evrms/ringAd/common/ringManage/getRing")
    @PostMapping("/test01")
    String getADS(@RequestParam("applicationName") Object applicationName,
    @RequestHeader("cookie") String cookie
    );
}
